package com.hzhq.contract.bean.vo;

import com.hzhq.contract.bean.entity.Admin;
import com.hzhq.contract.bean.entity.Depart;
import com.hzhq.contract.bean.entity.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;

import java.util.Date;

/**
 * @author hzhq
 * @create 2021/4/10 5:02 下午
 * @email hzhq1255@163.com
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户角色信息VO")
public class UserRoleVO {


    @ApiModelProperty(value = "用户")
    private String user;
    @ApiModelProperty(value = "角色")
    private String role;
//    @ApiModelProperty(value = "部门")
//    private String depart;
    @ApiModelProperty(value = "授予人")
    private String admin;
    @ApiModelProperty(value = "授予时间")
    private Date assignTime;
    @ApiModelProperty("是否通过code")
    private Integer passed;
    @ApiModelProperty(value = "删除标志 0 未删除 1 删除")
    private Integer deleted;

}
